package com.gper.vip.homework.facotry.abstractF;

public class BMWCar extends Car {

    private String brand = "BMW";

    private String color = "red";

    private String enegy = "elc";

    public void driver() {
        System.out.println("I driver the car of " + color + " " + brand + " with " + enegy);
    }


}
